package com.example.qxfw.qxxx.service.impl;

import com.example.qxfw.common.entity.qx.MsgRainMinute;
import com.example.qxfw.qxxx.mapper.MsgRainMinuteMapper;
import com.example.qxfw.qxxx.service.MsgRainMinuteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MsgRainMinuteServiceImpl implements MsgRainMinuteService {

    @Autowired
    private MsgRainMinuteMapper msgRainMinuteMapper;

    @Override
    public List<MsgRainMinute> getList(String dbName, String sort, String dateTime, String sql) {
        return msgRainMinuteMapper.selectList(dbName,sort,dateTime,sql);
    }

    @Override
    public List<MsgRainMinute> getList1(String dateTime, String dbName, String sql) {
        return msgRainMinuteMapper.selectList1(dateTime,dbName,sql);
    }

    @Override
    public List<MsgRainMinute> getList2(String selElement, String startTime, String endTime, String dbName, String sql) {
        return msgRainMinuteMapper.selectList2(selElement, startTime, endTime, dbName, sql);
    }
}
